package top.wfzzq.dp.chain;


/**
 * 抽象职责链，完成链表功能
 * 
 * @author wanghui
 *
 */
public abstract class AbstractChain implements MyChain {
	private MyChain next;

	@Override
	public MyChain getNext() {
		return next;
	}

	@Override
	public void setNext(MyChain next) {
		this.next = next;
	}

}
